how to find where python is located

88

how to find where python is located -

>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\\Python25'

Comments

Submit
0 Comments